Home-made HTTP proxy server [closed]

Posted by Martin Dimitrov on Server Fault See other posts from Server Fault or by Martin Dimitrov
Published on 2012-09-22T08:14:29Z Indexed on 2012/09/22 9:39 UTC
Read the original article Hit count: 267

Filed under:
|

I wanted to help a friend who has some restrictions at work to visit certain sites. Locally, on a Windows 7 machine, I run Apache server and decided to make it a proxy just for the IP of my friend. So I added the following to the configuration file:

ProxyRequests On
ProxyVia On
<Proxy *>
  Order deny,allow
  Deny from all
  Allow from <his.ip>
</Proxy>

It worked fine. But shortly the proxy started to receive many requests of the form:

66.249.66.242 - - [22/Sep/2012:11:01:12 +0300] "GET /search?hl=en&lr=lang_en&as_qdr=all&ie=UTF-8&q=related:www.aarp.org/aarp-foundation/+allinurl:+foundation&tbo=1&sa=X&ei=BSy2T9L_L8PitQapwtHtBw&ved=0COQBEB8wPw HTTP/1.1" 403 208
66.249.71.36 - - [22/Sep/2012:11:01:49 +0300] "GET /search?hl=en&lr=lang_en&as_qdr=all&ie=UTF-8&q=related:www.aarp.org/aarp-foundation/+allinurl:+foundation&tbo=1&sa=X&ei=BOCzT-_WK8_0sgbki5XCDA&ved=0COABEB8wPg HTTP/1.1" 403 208

These are Google IPs. The requests are every 30 seconds or so. My friend is not at work today.

In apache_error.log I see:

[Sat Sep 22 11:09:20 2012] [error] [client 66.249.66.242] client denied by server configuration: C:/wamp/www/aclk
[Sat Sep 22 11:09:47 2012] [error] [client 66.249.71.36] client denied by server configuration: C:/wamp/www/search

What the hell is going on? Please, help.

© Server Fault or respective owner

Related posts about apache2

Related posts about proxy